<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/app.css?v=0.2.11">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/jquery.mobile-1.4.2.css">
<script
	src="${pageContext.request.contextPath}/resources/js/jquery-1.11.0.min.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/jquery.mobile-1.4.2.min.js"></script>
<title>Registrar Personas</title>
</head>
<body>
	<div data-role="page" data-ajax="false" data-theme="a"
		data-ajax="false">
		<div data-role="header" data-id="header">
			<center>
				<h1>Bienvenido</h1>
			</center>
		</div>
		<div role="main" class="ui.content">
			<div class="centered-content">
				<form:form action="registrar_evento" method="POST">
					<table width="5">

						<tr>
							<td><form:select name="evento" path="nombre">
									<option value="0">(Seleccione un evento)</option>
									<c:forEach items="${listaEventos}" var="evento">
										<option value="${evento.nombre}">${evento.nombre}</option>

									</c:forEach>
							</form:select></td>
						<tr>
							<td>Script JSON</td>
						</tr>
						<tr>
							<td><form:textarea path="json" ></form:textarea>
						</tr>
						<tr>
						<td><button type="submit"
									class="ui-btn ui-icon-check ui-btn-icon-right">Grabar</button>
					</table>
				</form:form>
			</div>
		</div>
	</div>

</body>
</html>